<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<script type="text/javascript" src="${ctx}/js/erp/ajaxSessionTimeOut.js"></script>
<script type="text/javascript">
$(function(){
	 parent.$.messager.progress('close');
	 $("#privilegeTree").tree({
        url:contextPath + '/menu/getPrivilegeTree.action?roleId=${role.id}',
        method:'POST',
        checkbox:true,
        lines:true,
        cascadeCheck:true,
        animate:true,
        onClick: function(node){
        }
    });
});
</script>
<div id="privilege-dialog">  
    <div class="easyui-layout" style="height:350px;margin: -1px 0px 0px -1px;">
        <div collapsible="false" data-options="width:'100%'" title="菜单列表" class="easyui-panel" style="height:350px;"> 
           <ul id="privilegeTree"></ul>
       </div>
    </div>
</div>